<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!-- saved from url=(0030)http://localhost:8080/House-2/ -->
<HTML xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
<TITLE>郑州租房 - 首页</TITLE>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<LINK rel=stylesheet type=text/css href="${basePath}css/style.css">

<META name=GENERATOR content="MSHTML 8.00.7601.17514">
</HEAD>
<BODY>
	<DIV id=header class=wrap>
		<DIV id=logo>
			<IMG src="${basePath}images/logo.gif">
		</DIV>
	</DIV>
	<a href="LoginServlet">登陆</a>
	<DIV id=navbar class=wrap>
		<DL class="search clearfix">
			<FORM id=sform method=post action=HouseServlet>
				<DT>
					<UL>
						<LI class=bold>房屋信息</LI>
						<LI>标题：<INPUT class=text type=text name=title> <LABEL
							class=ui-blue><INPUT value=搜索房屋 type=submit name=search></LABEL>
						</LI>
					</UL>
				</DT>
				<DD>
					<UL>
						<LI class=first>价格</LI>
						<LI><SELECT name=price>
								<OPTION selected value="">不限</OPTION>
								<OPTION value=0-1600>1600元以下</OPTION>
								<OPTION value=1600-3000>1600元—3000元</OPTION>
								<OPTION value=3000-1000000>3000元以上</OPTION>
						</SELECT></LI>
					</UL>
				</DD>
				<DD>
					<UL>
						<LI class=first>房屋位置</LI>
						<LI><SELECT id=street name=street_id>
								<OPTION selected value="">不限</OPTION> <#list slist as street>
								<option value=${street.id }>${street.name }</option> </#list>
						</SELECT></LI>
					</UL>
				</DD>
				<DD>
					<UL>
						<LI class=first>房型</LI>
						<LI><SELECT name=type_id>
								<OPTION selected value="">不限</OPTION> <#list tlist as type>
								<option value=${type.id }>${type.name }</option> </#list>
						</SELECT></LI>
					</UL>
				</DD>
				<DD>
					<UL>
						<LI class=first>面积</LI>
						<LI><SELECT name=floorage>
								<OPTION selected value="">不限</OPTION>
								<OPTION value=0-90>90以下</OPTION>
								<OPTION value=90-120>90-120</OPTION>
								<OPTION value=120-1000000>120以上</OPTION>
						</SELECT></LI>
					</UL>
				</DD>
			</FORM>
		</DL>
	</DIV>
	<DIV class="main wrap">
		<TABLE class=house-list>
			<TBODY>
				<#list hlist as house>
				<tr class="${house?item_cycle('','odd') }">

					<TD class=house-thumb><span><A href="details.htm"
							target="_blank"><img src="${basePath}images/thumb_house.gif"
								width="100" height="75" alt=""></a></span></TD>
					<TD>
						<DL>
							<DT>
								<A href="DetailsServlet?id=${house.id }" target="_blank">${house.title!"" }</A>
							</DT>
							<DD>${house.street.district.name!"" }${house.street.name!"" },${house.floorage!"" }平米<BR>联系方式：${house.contact!"" }
							</DD>
						</DL>
					</TD>
					<TD class=house-type>${house.type.name!"" }</TD>
					<TD class=house-price><SPAN>${house.price!"" }</SPAN>元/月</TD>
				</TR>
				</#list> <#if house??>
				<TR>无租房信息
				</TR>
				</#if>

			</TBODY>
		</TABLE>
		<DIV class=pager>
			<UL>
				<LI class=current><A
					href="HouseServlet?index=1&title=${root.titleStr!''}&price=${root.price!''}&street_id=${root.streetId!''}&type_id=${root.typeId!''}&floorage=${root.floorage!''}">首页</A></LI>
				<#if pageIndex gt 1 >

				<LI><A
					href="HouseServlet?index=${pageIndex - 1 }&title=${root.titleStr!''}&price=${root.price!''}&street_id=${root.streetId!''}&type_id=${root.typeId!''}&floorage=${root.floorage!''}">上一页</A></LI>
				</#if> <#if pageIndex lt totalPageCount >
				<LI><A
					href="HouseServlet?index=${pageIndex + 1 }&title=${root.titleStr!''}&price=${root.price!''}&street_id=${root.streetId!''}&type_id=${root.typeId!''}&floorage=${root.floorage!''}">下一页</A></LI>
				</#if>
				<LI><A
					href="HouseServlet?index=${totalPageCount!1 }&title=${root.titleStr!''}&price=${root.price!''}&street_id=${root.streetId!''}&type_id=${root.typeId!''}&floorage=${root.floorage!''}">末页</A></LI>

			</UL>
			<SPAN class=total>${pageIndex }/${totalPageCount!1 }页</SPAN>
		</DIV>
	</DIV>
	<DIV id=footer class=wrap>
		<DL>
			<DT>郑州租房 © 2010云和学院 京ICP证1000001号</DT>
			<DD>关于我们 · 联系方式 · 意见反馈 · 帮助中心</DD>
		</DL>
	</DIV>
</BODY>
</HTML>
